﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>部门面板</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <script src="../../../../scripts/boot.js" type="text/javascript"></script>

    <style type="text/css">
        html, body {
            padding:0;
            margin:0;
            border:0;
            height:100%;
            overflow:hidden;
        }
    </style>
</head>
<body>
    <form id="form1" method="post">
        <!--按钮-->
        <div style="text-align:left;padding:5px 10px;border-bottom:1px solid #aed0ea;margin-bottom:10px;">
            <a class="mini-button" onclick="onOk" style="width:60px;">确定</a>
            <a class="mini-button" onclick="onCancel" style="width:60px;">取消</a>
        </div>
        <!--部门信息表-->
        <div style="padding-left:11px;padding-bottom:5px;">
            <table style="table-layout:fixed;">
                <tr>
                    <td>
                        <input name="departmentId" class="mini-hidden"/>
                    </td>
                </tr>
                <tr>
                    <td style="width:80px;">部门编码：</td>
                    <td style="width:150px;">    
                        <input name="departmentCode" class="mini-textbox"/>
                    </td>
                    <td style="width:80px;">部门名称：</td>
                    <td style="width:150px;">
                        <input name="departmentName" class="mini-textbox" required="true"  emptyText="请输入名称"/>
                    </td>
                </tr>
                <tr>
                    <td style="width:80px;">部门简介：</td>
                    <td style="width:150px;">
                        <input name="departmentDesc" class="mini-textbox" required="true"  emptyText="请输入名称"/>
                    </td>
                    <td >创建日期：</td>
                    <td >
                        <input name="createDate" class="mini-textbox" readonly/>
                    </td>
                </tr>
                <tr>
                    <td style="width:80px;">所属集团：</td>
                    <td style="width:150px;">
                        <!--<input name="groups.groupCode" class="mini-textbox"/>-->
                        <input name="groups.groupId" class="mini-combobox" valueField="groupId" textField="groupName"
                               onvaluechanged="onModularChanged" required="true"
                               emptyText="请选择集团"
                               />
                    </td>
                    <td style="width:80px;">所属公司：</td>
                    <td style="width:150px;">
                        <!--<input name="company.companyCode" class="mini-textbox"/>-->
                        <input name="company.companyId" class="mini-combobox" valueField="companyId" textField="companyName"
                        onvaluechanged="onDeptChanged" required="true"
                        emptyText="请选择公司"
                        />
                    </td>
                </tr>
                <tr>
                    <td style="width:80px;">所属部门：</td>
                    <!--<td><input name="prentId" class="mini-textbox"/></td>-->
                    <td>
                        <input name="prentId" class="mini-hidden"/>
                        <input name="prentName" class="mini-combobox" valueField="departmentId" textField="departmentName"
                               onvaluechanged="onDeptChanged" required="true"
                               emptyText="请选择部门"
                                />
                    </td>
                    <td>创建时间</td>
                    <td>
                        <input name="createDate" class="mini-textbox" readonly/>
                    </td>
                </tr>
            </table>
        </div>
    </form>

    <script src="alertjs/depWin.js"></script>
</body>
</html>
